<template>
    <div style="width: 100%;height: 100%;background: white">
        <div v-html="editorData" ></div>
    </div>
</template>

<script>
/**
 * 自定义页面(富文本)
 */
export default {
    name: "quillEditorView",
    components: {},
    props: {
        config:{}
    },
    data() {
        return {
            editorData:""
        }
    },
    created() {
        this.init();
    },
    methods: {
        init(){
            this.editorData=this.config?this.config.html:"";
        },
    },
    watch: {},
}
</script>

<style scoped>

</style>
